package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: xingxing.xiao
 * @date: 2020/08/06 17:00
 */
@Getter
@Setter
@ToString
public class ExplainRelyBusinessAttrListDTO extends BaseDTO {

    private static final long serialVersionUID = -8088084041951992530L;
    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.formExplainList.appId.NotNull}")
    private Long appId;

    /**
     * 菜单id
     */
    @NotNull(message = "{dto.msg.formExplainList.menuId.NotNull}")
    private Long menuId;
    /**
     * 表单id
     */
    @NotEmpty(message = "{dto.msg.formExplainList.formId.NotNull}")
    private List<Long> formIds;

    private Integer businessType;

    private Integer saasMark;

}
